import request from '@/utils/request'
// 获取排行榜id
export function getToplist() {
    return request({
        url: "/toplist",
        type: 'get'
    })
}
// 获取歌单数据
export function getPlaylistDetail(id) {
    return request({
        url: `/playlist/detail`,
        type: 'get',
        params:{
            id
        }
    })
}